package com.chunxiadong.mapper;

import com.chunxiadong.entity.Message;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @auther QiuShangcheng
 * @create 2021/6/10
 */
@Mapper
@Repository
public interface MessageMapper {
    int addMessage(Message message);

    List<Message> getAllMessage();
}
